import request from '@/utils/request'

// 查询综合得分列表
export function listComprehensive(query) {
  return request({
    url: '/gxs/comprehensive/list',
    method: 'get',
    params: query
  })
}

// 查询综合得分详细
export function getComprehensive(gxsAppraisalid) {
  return request({
    url: '/gxs/comprehensive/' + gxsAppraisalid,
    method: 'get'
  })
}

// 新增综合得分
export function addComprehensive(data) {
  return request({
    url: '/gxs/comprehensive',
    method: 'post',
    data: data
  })
}

// 修改综合得分
export function updateComprehensive(data) {
  return request({
    url: '/gxs/comprehensive',
    method: 'put',
    data: data
  })
}

// 删除综合得分
export function delComprehensive(gxsAppraisalid) {
  return request({
    url: '/gxs/comprehensive/' + gxsAppraisalid,
    method: 'delete'
  })
}


